﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Workflow2211A.Application.DTO;
using Workflow2211A.Application.DTO.Inputs;
using Workflow2211A.Application.DTO.Outputs;

namespace Workflow2211A.Application.Services
{
    public interface IUserService
    {
        /// <summary>
        /// 用户登录
        /// </summary>
        /// <param name="input">输入参数</param>
        /// <returns>返回用户信息</returns>
        APIResult<UserOutput> Login(UserLoginInput input);
        /// <summary>
        /// 获取用户信息
        /// </summary>
        /// <returns></returns>
        List<UserOutput> GetUser();
    }
}
